﻿@model Net.Web.Models.Resumes.ResumeListModel
@{
    Html.AddTitleParts("优秀人才");
}

<div class="col-lg-9">
    <div class="glyphicon-filter">
        @using (Html.BeginRouteForm("Resume", FormMethod.Get))
        {
            @Html.TextBoxFor(model => model.Keyword, new { @class = "search-text", placeholder = "请输入搜索简历的关键字" })
            <ul>
                @if (Model.AvailableSortOptions.Count > 0)
                {
                    <li><span>热门城市：</span></li>
                    <li>
                        @foreach (var i in Model.AvailableCity)
                        {
                            <a href="@i.Value"> @i.Text</a>
                        }
                    </li>
                }
            </ul>
            <ul>
                @if (Model.AvailableSortOptions.Count > 0)
                {
                    <li><span>排序：</span></li>
                    <li>
                        @foreach (var i in Model.AvailableSortOptions)
                        {
                            <a href="@i.Value"> @i.Text</a>
                        }
                    </li>
                }
            </ul>
        }
    </div>
    <div class="content">
        @if (Model.Resumes.Count > 0)
        {
            <ul>
                @foreach (var item in Model.Resumes)
                {
                    <li>@item.Name</li>
                }
            </ul>
        }
        else
        {
            <span>Sorry ,没有你想要的信息哦！</span>
        }
    </div>
</div>
<div class="col-lg-3"></div>